package com.lyf.shop.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyf.common.core.annotation.Excel;
import com.lyf.common.core.web.domain.BaseEntity;

/**
 * 会员对象 t_number
 * 
 * @author lyf
 * @date 2023-04-08
 */
@Data
public class Number extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员主键id */
    private Long numberId;

    /** 订单id */
    @Excel(name = "超市名称")
    private String supermarketName;

    /** 超市id */
    @Excel(name = "超市id")
    private Long supermarketId;

    /** 会员账号 */
    @Excel(name = "会员账号")
    private String account;

    /** 会员密码 */
    @Excel(name = "会员密码")
    private String password;

    /** 积分 */
    @Excel(name = "积分")
    private Long integral;

    public void setNumberId(Long numberId) 
    {
        this.numberId = numberId;
    }

    public Long getNumberId() 
    {
        return numberId;
    }

    public void setSupermarketId(Long supermarketId)
    {
        this.supermarketId = supermarketId;
    }

    public Long getSupermarketId() 
    {
        return supermarketId;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setIntegral(Long integral) 
    {
        this.integral = integral;
    }

    public Long getIntegral() 
    {
        return integral;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("numberId", getNumberId())
            .append("supermarketId", getSupermarketId())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("integral", getIntegral())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
